package com.lizx.persional.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.mapper.SqlCondition;
import com.lizx.persional.common.base.SuperEntity;

import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * <p>
 * </p>
 *
 * @author 李振兴
 * @since 2018-02-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class Department extends SuperEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 部门名称
     */
    @TableField(value = "name", condition = SqlCondition.LIKE)
    private String name;
    /**
     * 描述
     */
    private String description;
    /**
     * 排序
     */
    private Integer sort;


}
